if polybutton(the script of this card) is "pass" then pass mouseDown
end mouseDown
-- part contents for card part 3
----- text -----
on mouseDown
if polybutton(the script of this bg) is "pass" then pass mouseDown
end mouseDown
-- part contents for background part 26
----- text -----
You'll probably want to copy the "polybutton" XFCN to any stack that uses it. Polybutton does not use any of the other resources found in this stack: they are strictly for the benefit of polyedit.
You can have card polybuttons and background polybuttons.
Any card that has card polybuttons on it must have this handler in its script:
Any background that has polybuttons needs a similar handler:
PolyEdit does not add these handlers for you; you must type them in.